package com.pig4cloud.pig.demo.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pig4cloud.pig.demo.feign.Entity.Collection;
import com.pig4cloud.pig.demo.feign.vo.ArticleCollectionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface CollectionMapper extends BaseMapper<Collection> {
    /**
     * 分页查询收藏文章
     * @param page
     * @return
     */
    public IPage<ArticleCollectionVO> queryArticleCollectionVO(Page<?> page, @Param("id") Long id);
}
